/******************************************************************************
 *
 * @author    EDT <http://www.edtc.com>
 *
 *****************************************************************************/
#ifndef XPT2046TOUCHCONTROLLER_HPP
#define XPT2046TOUCHCONTROLLER_HPP

#include <platform/driver/touch/TouchController.hpp>

namespace touchgfx
{
class XPT2046TouchController : public TouchController
{
public:
    XPT2046TouchController() : isInitialized(false) {}
    virtual void init();
    virtual bool sampleTouch(int32_t& x, int32_t& y);
protected:
    bool isInitialized;
};
}

#endif // XPT2046TOUCHCONTROLLER_HPP
